package ptij.verifier.test.grammar;

import ptolemy.actor.*;
import ptolemy.kernel.*;
import ptolemy.kernel.util.*;

public class Do1 extends AtomicActor {

   public Do1(CompositeEntity container, String name) throws
           NameDuplicationException, IllegalActionException {
       super(container, name);
   }

   public void fire() throws IllegalActionException {  
       int a = 1;
       int b = 2;
       do {
          a = a + b;
       } while(a < 30);

       do {
          a = a - 3*b;
	  if(a < 10) {
	     break;
	  }
	  
	  if(a > b + 1) {
	     continue;
	  }
       } while(a > -3);
   }

}
